package ${package.Service};

import ${package.Entity}.${entity};
import ${superServiceClassPackage};
import com.baomidou.mybatisplus.extension.service.IService;
import com.zyxx.common.utils.LayTableResult;
import com.zyxx.common.utils.ResponseResult;

/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.serviceName} : IService<${entity}>
<#else>
public interface ${table.serviceName} extends IService<${entity}> {


 /**
 * 分页查询
 */
 LayTableResult list(Integer page, Integer limit, ${entity}  ${entity?uncap_first});

 /**
 * 新增
 */
 ResponseResult add(${entity}  ${entity?uncap_first});

 /**
 * 编辑
 */
 ResponseResult update(${entity}  ${entity?uncap_first});

 /**
 * 删除
 */
 ResponseResult delete(Long id);

}
</#if>
